package S14.first;

import java.util.stream.Stream;

public class F03 {

	public static void main(String[] args) {
		String saying="Practice makes perfect"; //熟能生巧
		String[]ss=saying.split(" "); //获取字符串数组
		System.out.println("各个字符串：");
		String r = Stream.of(ss).reduce("单词：", (init, word)->init+word+" ");
		System.out.println(r);
		

	}

}
